﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using BLL;

public partial class QuarterPlan_TotalPlanDetail : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            BindGridView();
        }
    }


    void BindGridView()
    {

        TotalPlanMgr dllTotalPlanMgr = new TotalPlanMgr();
        object[] _value = new object[1];
        _value[0] = Utility.HttpHelp.getParamsInt("TotalPlanId");
        DataTable dt =  dllTotalPlanMgr.get(TotalPlanMgr.field.TotalPlanId.ToString(), _value);
        this.gdvTotalPlan.DataSource = dt;
        this.gdvTotalPlan.DataBind();
    }
}
